package com.adong.crowd.constant;

/**
 * 常量类
 */
public class CrowdConstant {

    public static final String MESSAGE_LOGIN_NOT_USER = "请输入用户名";
    public static final String MESSAGE_LOGIN_NOT_PSWD = "请输入密码";
    public static final String MESSAGE_STRING_INVALIDATE = "请输入有效的密码";
    public static final String MESSAGE_LOGIN_FAILED = "抱歉！账号密码错误！请重新输入！";
    public static final String MESSAGE_SYSTEM_ERROR_LOGIN_NOT_UNIQUE = "系统错误：登录账号不唯一！";
    public static final String MESSAGE_ACCESS_FORBIDEN = "请登录";

    public static final String ATTR_NAME_EXCEPTION = "exception";
    public static final String ATTR_NAME_LOGIN_ADMIN = "loginAdmin";
    public static final String ATTR_NAME_PAGE_INFO = "pageInfo";
    // 验证码存入Redis的前缀
    public static final String REDIS_CODE_PREFIX = "TEXT_MESSAGE";
    public static final String ATTR_NAME_MESSAGE = "message";
    public static final String ATTR_NAME_PORTAL_DATA = "portal_data";
}